<template>
	<view>
		<view class="no-data animate__bounceIn" style="animation-duration: 2s;">
			<image src="/static/img/home/no_data.png"></image>
			<view class="content">
				<view class="text-title">即将上线</view>
				<view class="text">该功能即将上线，敬请期待！</view>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			customerServiceUrl: '',
		}
	},
	onLoad(option) {
		this.getCustomerServiceUrl();
	},
	onShow(){
		this.getCustomerServiceUrl();
	},
	methods: {

		getCustomerServiceUrl() {
			var that = this;
			uni.$uv.http.get('/setting/getCustomerServiceUrl').then(res => {
				that.customerServiceUrl = res.data;
				if(that.customerServiceUrl){
					uni.navigateTo({
						url: '/pages/webview/webview?url=' + that.customerServiceUrl
					});
				}
			});
		},

	}
}
</script>

<style scoped lang="less">
page {
	background: url('/static/img/my_bg.png') no-repeat;
	background-size: 100% 100%;
	background-color: #FFFFFF;
}
.no-data {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	image {
		width: 750rpx;
		height: 500rpx;
	}

	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		.text-title{
			font-size: 44rpx;color: #000;letter-spacing: 2px;margin-bottom: 32rpx;margin-top: 50rpx;
		}
		.text{
			font-size: 28rpx;color: #524d4d66;
		}
	}
}
</style>